<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>在线考试系统 - 登录</title>
</head>
<body>
    <h1>在线考试系统</h1>
    <form action="/" method="POST">
        <label for="user_type">选择身份:</label>
        <select name="user_type" id="user_type">
            <option value="teacher">老师</option>
            <option value="student">学生</option>
            <option value="parent">家长</option>
        </select>
        <br><br>
        <label for="username">机号:</label>
        <input type="text" id="username" name="username" required>
        <br><br>
        <label for="password">密码:</label>
        <input type="password" id="password" name="password" required>
        <br><br>
        <button type="submit">登录</button>
    </form>
</body>
</html>
